
public class algoritm4 {
	static int count=0;
	public static int fib1 (int n) 
	{
		if (n == 0)
			return 0;
		if (n == 1)
			return 1;
		count++;
		return fib1(n-2) + fib1(n-1);
	}
	public static void main(String[] args) {
		System.out.println (fib1(10));
		System.out.println(count);
	}
}